<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
<!-- <link rel="stylesheet" type="text/css" href="assets/tag/selectpage.css" />
<link rel="stylesheet" type="text/css" href="assets/tag/demo.css" /> -->
<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <div class="row">
      <div class="col-lg-12">
        <!-- <section class="panel">
          <div class="panel-heading">
            领用清单
            <span class="btn btn-default btn-xs pull-right"> 合计:￥<span class="sumprc">2277.99</span>元</span>
          </div>
          <div class="panel-body">
            <ul id="reclbox">
              <li>
                <label>罗曼尼-康帝</label>
                <label>单价：￥<span>888.55</span>元</label>
                <label>数量：<span class="tsize">5</span></label>
                <label></label>
              </li>
              <li>
                <label>拉菲</label>
                <label>单价：￥<span>888.55</span>元</label>
                <label>数量：<span class="tsize">5</span></label>
                <label></label>
              </li>
              <li>
                <label>瓦朗德鲁</label>
                <label>单价：￥<span>888.55</span>元</label>
                <label>数量：<span class="tsize">5</span></label>
                <label></label>
              </li>
            </ul>
          </div>
        </section> -->
        <section class="panel">
          <header class="panel-heading">
            基本信息
          </header>
          <div class="panel-body">
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">项目名称*</label>
              <div class="col-sm-10">
                <input type="text" value="项目名称测试数据" disabled class="form-control" placeholder="自动检索项目名称"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');">
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">领取地点*</label>
              <div class="col-sm-10">
                <select class="form-control" disabled>
                  <option>南京</option>
                  <option>北京</option>
                  <option>广州</option>
                  <option>上海</option>
                </select>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">领取时间*</label>
              <div class="col-sm-10">
                <input type="text" value="2018-05-08" id="ltime" class="form-control"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" placeholder="领取时间" disabled>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">领取人</label>
              <div class="col-sm-10">
                <input type="text" placeholder="输入后请选择" class="input-block-level" id="selectPage"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" data-init="1,2,3">
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">领取物资合计金额</label>
              <div class="col-sm-10">
                <div class="input-group m-bot15">
                  <span class="input-group-addon">￥</span>
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" class="form-control"
                    placeholder="自动计算合计金额" value="99.89" disabled>
                  <span class="input-group-addon">元</span>
                </div>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">理由/备注说明*</label>
              <div class="col-sm-10">
                <textarea class="form-control" maxlength="120" placeholder="字符长度限制(120字以内)"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" disabled>理由/备注说明测试数据</textarea>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">是否勾选</label>
              <div class="col-sm-10">
                <div class="checkbox">
                  <label>
                    <input type="checkbox" id="zdcheck" disabled checked> 招待使用
                  </label>
                </div>
              </div>
            </div>
          </div>
        </section>

        <section class="panel" id="zdbox" style="display:none;">
          <header class="panel-heading">
            招待信息
          </header>
          <div class="panel-body">
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">招待类型*</label>
              <div class="col-sm-10">
                <select class="form-control" disabled>
                  <option>外部招待</option>
                  <option>内部团建</option>
                </select>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">招待日期*</label>
              <div class="col-sm-10">
                <input id="zdtime" class="form-control" disabled value="2018-05-06" placeholder="招待日期" onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');">
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">招待标准*</label>
              <div class="col-sm-10">
                <div class="input-group m-bot15">
                  <span class="input-group-addon">￥</span>
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" class="form-control" min="0"
                    placeholder="具体金额" value="122.44" disabled>
                  <span class="input-group-addon">元</span>
                </div>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">所在城市*</label>
              <div class="col-sm-10">
                <input type="text" class="form-control" placeholder="所在城市(50字以内)" maxlength="50"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" value="江苏省南京市雨花台区" disabled>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">地点*</label>
              <div class="col-sm-10">
                <input type="text" class="form-control" placeholder="具体地点(120字以内)" maxlength="120"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" value="江苏软件园XXXX" disabled>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">备注*</label>
              <div class="col-sm-10">
                <textarea class="form-control" placeholder="字数长度限制(120字以内)" maxlength="120"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" disabled>备注测试数据</textarea>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">客户单位名称*</label>
              <div class="col-sm-10">
                <input class="form-control" placeholder="客户单位名称(120字以内)" maxlength="120"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" value="某某集团公司" disabled>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">决策人员</label>
              <div class="col-sm-10">
                <textarea class="form-control" placeholder="请输入人员姓名(120字以内)" maxlength="120"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" disabled></textarea>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">经办人员</label>
              <div class="col-sm-10">
                <textarea class="form-control" placeholder="请输入人员姓名(120字以内)" maxlength="120"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" disabled></textarea>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">相关人员</label>
              <div class="col-sm-10">
                <textarea class="form-control" placeholder="请输入人员姓名(120字以内)" maxlength="120"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" disabled></textarea>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">相关人员数量</label>
              <div class="col-sm-10">
                <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" min="0"
                  class="form-control" placeholder="人员数量" value="4" disabled>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">随同人员</label>
              <div class="col-sm-10">
                <textarea class="form-control" placeholder="请输入人员姓名(120字以内)" maxlength="120"
                  onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g,'');" disabled></textarea>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">随同人员数量</label>
              <div class="col-sm-10">
                <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" min="0"
                  class="form-control" placeholder="人员数量" value="10" disabled>
              </div>
            </div>
          </div>
        </section>

        <section class="panel">
          <header class="panel-heading">
            领用列表
          </header>
          <div class="panel-body">
            <div id="letboxContainer" class="dlshouwen-grid-container"></div>
          </div>
        </section>


        <section class="panel">
          <header class="panel-heading">
            审批意见
          </header>
          <div class="panel-body">
            <div class="form-group customerForm">
              <textarea class="form-control" maxlength="120" placeholder="字符长度限制(120字以内)"></textarea>
            </div>
          </div>
        </section>

        <section class="panel">
          <div class="panel-body">
            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
              <a href="javascript:void(0);" class="button-back  btn btn-warning btn-l10">退回</a>
              <a href="#/lastrec" class="button-next  btn btn-success btn-l10">同意</a>
              <a href="javascript:void(0);" class="button-next  btn btn-danger">不同意</a>
            </p>
          </div>
        </section>
      </div>
    </div>
  </section>
</section>
<script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<!-- <script type="text/javascript" src="js/autocomplete/jquery.autocomplete.js"></script>
<script type="text/javascript" src="tag/b.selectpage.js"></script>
<script type="text/javascript" src="tag/selectpage.js"></script>
<script type="text/javascript" src="assets/tag/js/demo.js"></script> -->
<script type="text/javascript">
  // 领取时间
  $('#ltime').datepicker({
    format: 'yyyy-mm-dd'
  });
  // 结束日期
  $('#zdtime').datepicker({
    format: 'yyyy-mm-dd'
  });

  $(function () {
    var ltenCheck = $("#zdcheck").is(":checked");
    console.log(ltenCheck);
    if (ltenCheck) {
      $("#zdbox").show()
    } else {
      $("#zdbox").hide()
    }
  })
</script>
<script type="text/javascript" src="js/receives/index.js"></script>